package com.chen.manager.mapper;

import com.chen.model.entity.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 2/22/25 4:29 PM
 */
@Mapper
public interface SysMenuMapper {
    List<SysMenu> selectAll();

    void insertSysMenu(SysMenu sysMenu);

    void updateSysMenu(SysMenu sysMenu);

    SysMenu selectById(Long id);

    void deleteById(Long id);

    Long selectSubCount(Long id);

    List<SysMenu> selectSysMenuByUserId(Long id);
}
